package com.jhhc.RHDB.Data.Pojo;

import java.util.ArrayList;
import java.util.List;

//多站报表对象
public class MultiStationRainfall {

    //项目编号
    private int pid;

    //单位
    private String unit;
    //站名集合
    private List<Data> stationInfos;
    //多站报表数据
    private List<MultiStationRainfallData> multiStationRainfallDatas;

    public void setStationInfos(List<Data> stationInfos) {
        this.stationInfos = stationInfos;
    }

    public void setMultiStationRainfallDatas(List<MultiStationRainfallData> multiStationRainfallDatas) {
        this.multiStationRainfallDatas = multiStationRainfallDatas;
    }

    public List<Data> getStationInfos() {
        return stationInfos;
    }
    List<Data> stationInfo = new ArrayList<>();
    public void setStationInfos(Data data) {
        stationInfo.add(data);
        this.stationInfos = stationInfo;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getUnit() {
        return unit;
    }



    public void setUnit(String unit) {
        this.unit = unit;
    }

    public List<MultiStationRainfallData> getMultiStationRainfallDatas() {
        return multiStationRainfallDatas;
    }
    List<MultiStationRainfallData> multiStationRainfallDatas1 = new ArrayList<>();
    public void setMultiStationRainfallDatas(MultiStationRainfallData  multiStationRainfallData) {
        multiStationRainfallDatas1.add(multiStationRainfallData);
        this.multiStationRainfallDatas = multiStationRainfallDatas1;
    }
}
